home *** CD-ROM | disk | FTP | other *** search
- echo "Adding assigns to *"s:user-startup*" file..."
- echo >> s:user-startup "assign >NIL: Blitz2: *"`cd`*""
- echo >> s:user-startup "assign >NIL: Blitzlibs: *"`cd`/blitzlibs*""
-
- echo "Creating assigns for this session..."
- assign >NIL: Blitz2: `cd`
- assign >NIL: Blitzlibs: `cd`/blitzlibs
-
- echo "Copying default prefs files to ENVARC:..."
- copy Prefs/ted.menus ENVARC:
-
- echo "Copying required system libraries..."
- copy libs/ted.library libs:
- echo "(ted.library)"
- copy libs/lh.library libs:
- echo "(lh.library)"
-
- if exists libs:wizard.library
- version libs:wizard.library VERSION=42 REVISION=100 >NIL:
- if warn
- echo "Updating wizard.library (old one is renamed to wizard.library_old)"
- if exists libs:wizard.library_old
- delete libs:wizard.library_old
- endif
- rename libs:wizard.library libs:wizard.library_old
- copy libs/wizard.library libs:
- endif
- else
- echo "Copying wizard.library to libs:"
- copy libs/wizard.library libs:
- endif
-
- if exists libs:disassembler.library
- version libs:disassembler.library VERSION=40 REVISION=4 >NIL:
- if warn
- echo "Updating disassembler.library (old one is renamed to disassembler.library_old)"
- if exists libs:disassembler.library_old
- delete libs:disassembler.library_old
- endif
- rename libs:disassembler.library libs:disassembler.library_old
- copy libs/disassembler.library libs:
- endif
- else
- echo "Copying disassembler.library to libs:"
- copy libs/disassembler.library libs:
- endif
-
- echo "Setting script protection bits for online help..."
- protect blitz2:redhelp/red_help +s
- protect blitz2:redhelp/red_help +e
- protect blitz2:redhelp/showexample +s
- protect blitz2:redhelp/showexample +e
-
- ask "Do you want to use the German versions of AmiBlitz, PED and the online help? (y/n)"
- if warn
- echo "German selected"
- rename blitz2:AmiBlitz2 blitz2:AmiBlitz2_eng
- rename blitz2:PED blitz2:PEd_eng
- rename blitz2:help blitz2:help_eng.dat
-
- rename blitz2:AmiBlitz2_ger blitz2:AmiBlitz2
- rename blitz2:PEd_ger blitz2:PEd
- rename blitz2:help_de.dat blitz2:help.dat
- else
- echo "English selected"
- endif
-
- echo "Blitz is now ready for use. Close this window to finish"
-